package com.mxf.code.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author mxf
 * @version 1.0
 * @description: 实体详情入参
 * @date 2023/5/10
 */
@Data
@NoArgsConstructor
@ApiModel(value = "实体详情入参")
public class EntityDataDetailRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "本体Id")
    @NotNull(message = "ontologyId.null")
    private Long ontologyId;

    @ApiModelProperty(value = "实体id")
    @NotNull(message = "entityId.null")
    private Long entityId;
}
